/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package nl.rainbowsheep.reisorg.cust.site.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.io.Serializable;
import java.util.Map;

@JsonIgnoreProperties(ignoreUnknown = true)
public class AccommodationHousing implements Serializable {

    private long id;

    private String description;

    private Map<Language, AccommodationHousingLocalized> locale;

//    private Accommodation accommodation;
    private long accommodationId;

    private String title;

    private int minPersons;

    private int maxPersons;

    private Price currentPrice;

//    @OneToMany(mappedBy = "housing")
//    private List<AccommodationHousingBooking> bookings;
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }
    public long getAccommodationId() {
        return accommodationId;
    }

    public void setAccommodationId(long accommodationId) {
        this.accommodationId = accommodationId;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getMinPersons() {
        return minPersons;
    }

    public void setMinPersons(int minPersons) {
        this.minPersons = minPersons;
    }

    public int getMaxPersons() {
        return maxPersons;
    }

    public void setMaxPersons(int maxPersons) {
        this.maxPersons = maxPersons;
    }

    @JsonIgnore
    public Map<Language, AccommodationHousingLocalized> getLocale() {
        return locale;
    }

    public void setLocale(Map<Language, AccommodationHousingLocalized> locale) {
        this.locale = locale;
    }

    public String getDescription() {
        return this.description;
    }

    public void setDescription(String description) {

        this.description = description;
    }

    public Price getCurrentPrice() {
        return currentPrice;
    }

    public void setCurrentPrice(Price currentPrice) {
        this.currentPrice = currentPrice;
    }
}
